package com.lyc.dao;

import com.lyc.entity.Address;
import com.lyc.entity.vo.AddressVo;

import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    List<Address> selectAllByUid(Integer uid);

    List<AddressVo> selectAllByUid2(Integer uid);
}